package com.lfnyxy.dao.org;


import com.lfnyxy.entity.org.SysUserEntity;
import com.lfnyxy.query.org.SysUserQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface SysUserDao {
    int CreateItem(SysUserEntity entity);

    int UpdateItem(SysUserEntity entity);

    List<SysUserEntity> QueryPageList(SysUserQuery query);

    List<SysUserEntity> QueryAll();

    int QueryPageListCount(SysUserQuery query);

    int CheckIsExist(SysUserEntity entity);

    SysUserEntity QueryItem(int Id);

    SysUserEntity QueryItemByAccount(@Param(value = "account") String account);

    int DeleteItem(int Id);
}